<div class="container">
    <div class="panel dux-box">
        <div class="panel-head">{$name}页面</div>
        <form method="post" class="form-x" action="{url()}">
            <div class="panel-body">
                <div class="form-group">
                    <div class="label">页面标题</div>
                    <div class="field">
                        <input type="text" class="input" id="title" name="title" size="60" data-validate="required:必填" placeholder="请输入页面名称" value="{$info.title}">
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">页面内容</div>
                    <div class="field">
                        <textarea id="content" name="content" class="input" placeholder="请填写内容"data-validate="required:请填写页面内容" rows="15">{$info.content}</textarea>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">页面关键词</div>
                    <div class="field">
                        <input type="text" class="input" id="keyword" name="keyword" size="60"  placeholder="请输入页面关键词" value="{$info.keyword}">
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">页面描述</div>
                    <div class="field">
                        <textarea class="input" id="description" name="description" rows="3" cols="62" placeholder="请输入页面的简单描述">{$info.description}</textarea>
                    </div>
                </div>
            </div>
            <div class="panel-foot">
                <div class="form-button">
                    <div id="tips"></div>
                    <input type="hidden" name="page_id" type="hidden" value="{$info.page_id}">
                    <button class="button bg-main" type="submit">保存</button>
                    <button class="button bg" type="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
    <br>
</div>
<script>
    Do.ready('base', function () {
        $('#content').bbsEditor();
    });
</script>